//
//  UserDetailViewController.h
//  Gruphoto
//
//  Created by Thao Nguyen Huy on 1/14/13.
//  Copyright (c) 2013 CNC Software. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EventPhotoView.h"

typedef enum {
    UserDetailTypeEvents,
    UserDetailTypePhotos,
    UserDetailTypeFollowers
}UserDetailType;

@interface UserDetailViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, EventPhotoViewDelegate> {
    NSArray *userDetailLabels;
    NSArray *deviders;
    NSArray *detailButtons;
    
    UITableView *eventsTableView;
    UITableView *photosTableView;
    UITableView *followersTableView;

    UserDetailType detailType;
}

@property (nonatomic, retain) IBOutletCollection(UILabel) NSArray *userDetailLabels;
@property (nonatomic, retain) IBOutletCollection(UIView) NSArray *deviders;
@property (nonatomic, retain) IBOutletCollection(UIButton) NSArray *detailButtons;

@property (nonatomic, retain) IBOutlet UITableView* eventsTableView;
@property (nonatomic, retain) IBOutlet UITableView* photosTableView;
@property (nonatomic, retain) IBOutlet UITableView *followersTableView;

- (IBAction)backButtonPressed:(id)sender;
- (IBAction)detailButtonPressed:(id)sender;
- (IBAction)followButtonPressed:(id)sender;

@end
